.slide-down-enter-active,
.slide-down-leave-active,
.slide-up-enter-active,
.slide-up-leave-active,
.fade-enter-active,
.fade-leave-active,
.slide-right-enter-active,
.slide-right-leave-active,
.popup-slide-up-enter-active,
.popup-slide-up-leave-active {
  transition: all 0.2s linear;
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -ms-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
}

.slide-down-enter-to,
.slide-down-leave,
.slide-up-enter-to,
.slide-up-leave,
.slide-right-enter-to,
.slide-right-leave,
.popup-slide-up-enter-to,
.popup-slide-up-leave {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.slide-down-enter,
.slide-down-leave-to {
  transform: translate3d(0, -100%, 0);
  opacity: 0;
}

.slide-up-enter,
.slide-up-leave-to {
  // 之前位移100%，字号设置和menu高度不一致所以不太同步，//改为两数相加108，运动轨迹高度相同，就同步了
  transform: translate3d(0, px2rem(138), 0);
  -webkit-transform: translate3d(0, px2rem(138), 0);
  -moz-transform: translate3d(0, px2rem(138), 0);
  -ms-transform: translate3d(0, px2rem(138), 0);
  -o-transform: translate3d(0, px2rem(138), 0);
}

.slide-right-enter,
.slide-right-leave-to {
  transform: translate3d(-100%, 0, 0);
  -webkit-transform: translate3d(-100%, 0, 0);
  -moz-transform: translate3d(-100%, 0, 0);
  -ms-transform: translate3d(-100%, 0, 0);
  -o-transform: translate3d(-100%, 0, 0);
  opacity: 0;
}

.fade-enter,
.fade-leave-to {
  opacity: 0;
}

.fade-enter-to,
.fade-leave {
  opacity: 1;
}

.popup-slide-up-enter,
.popup-slide-up-leave-to {
  transform: translate3d(0, 100%, 0);
  -webkit-transform: translate3d(0, 100%, 0);
  -moz-transform: translate3d(0, 100%, 0);
  -ms-transform: translate3d(0, 100%, 0);
  -o-transform: translate3d(0, 100%, 0);
}
